Skip to content

Conversation

@JBWatenbergScality
Copy link

  • Introduced max_babysit_retries setting in settings.py to configure the maximum number of retries (default is 5).
  • Added babysit option in command setup to enable automatic retries for failed builds.
  • Implemented new exceptions: BabysitRetry, BabysitExhausted, and BabysitCancelled in exceptions.py to handle different states of the babysit process.
  • Enhanced Repository class with a method to rerun failed workflow jobs.
  • Updated documentation to include details on the babysit feature and its usage.
  • Implemented logic to check and handle babysit retries in queue processing.

This feature aims to reduce manual intervention for transient build failures in GitHub Actions.

- Introduced `max_babysit_retries` setting in `settings.py` to configure the maximum number of retries (default is 5).
- Added `babysit` option in command setup to enable automatic retries for failed builds.
- Implemented new exceptions: `BabysitRetry`, `BabysitExhausted`, and `BabysitCancelled` in `exceptions.py` to handle different states of the babysit process.
- Enhanced `Repository` class with a method to rerun failed workflow jobs.
- Updated documentation to include details on the babysit feature and its usage.
- Implemented logic to check and handle babysit retries in queue processing.

This feature aims to reduce manual intervention for transient build failures in GitHub Actions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants